{% extends "iphone/base.html" %}

{% block content %}
<div class="header">
Share tasks
:: <a href="/iphone/">Return to Whiteboard</a>
</div>
<p>&nbsp;</p>
<b>Step #1. Let other people view your tasks.</b>
<p>
<form action="/iphone/share_tasks/" method="post" accept-charset="utf-8">
You want to share your tasks? Check the box below and then other people can see your active tasks.
<p>&nbsp;</p>
<input type="checkbox" class="checkbox" id="id_share_tasks" name="share_tasks" {% if tasks_shared %}checked="checked"{% endif %}>
Yes, I want to share my tasks at:</input>
<p>&nbsp;</p>
<a style="color:blue; font-weight:bold;" href="{{share_link2}}">{{share_link2}}</a>
<p>&nbsp;</p>
<a style="color:blue; font-weight:bold;" href="{{share_link}}">{{share_link}}</a>
<p>&nbsp;</p>
<b>Step #2. Want to share tasks only with friends?</b> 
<p>
Enter user names below. Start new name from new line:
<br />
<textarea id="id_share_users" name="share_users">{{share_users}}</textarea>	 
<br />
To make your tasks public leave this field empty.
<p>&nbsp;</p>
<input type="submit" class="submit" value="Save changes">
</form>
{% endblock %}